/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.gra.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.gra.entity.Theme;
import com.thinkgem.jeesite.modules.gra.dao.ThemeDao;

/**
 * 主题管理Service
 * @author wuzengli
 * @version 2017-05-03
 */
@Service
@Transactional(readOnly = true)
public class ThemeService extends CrudService<ThemeDao, Theme> {

	public Theme get(String id) {
		return super.get(id);
	}
	
	public List<Theme> findList(Theme theme) {
		return super.findList(theme);
	}
	
	public Page<Theme> findPage(Page<Theme> page, Theme theme) {
		return super.findPage(page, theme);
	}
	
	@Transactional(readOnly = false)
	public void save(Theme theme) {
		super.save(theme);
	}
	
	@Transactional(readOnly = false)
	public void delete(Theme theme) {
		super.delete(theme);
	}
	
}